package org.coc.iot.entity;

import java.util.HashMap;
import java.util.Map;

public class ExecuteResult {
	// 是否成功
	private boolean success;
	// 返回信息
	private String msg;
	// 返回数据
	private Map<String, Object> body = new HashMap<String, Object>();
	// 退出标识
	private boolean logout = false;

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Map<String, Object> getBody() {
		return body;
	}

	public void setBody(Map<String, Object> body) {
		this.body = body;
	}

	public boolean isLogout() {
		return logout;
	}

	public void setLogout(boolean logout) {
		this.logout = logout;
	}
}
